from tkinter import *
from tkinter import ttk
from er import ro


def Open():
    ro(ent.get())


root = Tk()
root.geometry("300x50+675+200")
# root.iconbitmap('ps.ico')
root.title('open')

ent = Entry()
btn = ttk.Button(text="Open", command=Open, width=10)
ent.place(x=15, width=270, height=25)
btn.place(x=105, y=25)

root.mainloop()
